<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
    $this->LoadHead();
    $this->Html->LoadCss("menu");
    $this->Html->LoadCss("enchancements");
?>

<body>
    <!--header -->
    <div id="header-wrap">
        <div id="header">
            <a name="top"></a>
            <h1 id="logo-text">
                <a href="" title=""><?php echo SITE_NOME;?></a>
            </h1>
            <p id="slogan"><?php echo SITE_SLOGAN;?></p>
            <div id="nav">
                <?php
                    $menu_superior = $this->getMenuPlugins();
                    $this->LoadJsPlugin("menu/dropdown", "mddown"); 
                    $this->mddown->draw($menu_superior);
                    
                    $this->LoadRegion("menu-superior");
                ?>
            </div>
        </div>
    </div>

    <!-- content-outer -->
    <div id="content-wrap">

       <!-- content -->
       <div id="content">
           <div id="response"><?php $this->LoadMessages(); ?></div>
           
            <!-- main -->
            <div id="esq">
            <?php 
            if(isset($menu)){
                if(isset($menu_title))echo "<h3>$menu_title</h3>";
                $this->LoadJsPlugin("menu/multiple", "ms"); 
                $this->ms->draw($menu);
            }
            
            $this->LoadRegion("menu-lateral");
            ?>
            </div>

            <div id="main-dir">
                <div id="main">
                    <?php
                        $this->LoadRegion("body-top");
                        $this->Load("body");
                     ?>
                <!-- /main -->
                </div>
                <div id="dir">
                        <?php $this->Load("Apoio");?>
                </div>
            </div>

        <!-- content -->
        </div>

    <!-- /content-out -->
    </div>

    <!-- footer-outer -->
    <div class="clear"></div>
    <div id="footer-outer">
        <div id="footer-wrap">
            <div id="footer-bottom">

                <div class="footer-list">
                    <ul class='menu'>
                        <h3>Páginas</h3>
                        <?php
                            $menu_superior = $this->getMenuPlugins();
                            $this->LoadJsPlugin("menu/menu", "me");
                            $this->me->draw($menu_superior);
                        ?>
                    </ul>
                </div>
                
                <div class="footer-list">
                    <ul class='menu'>
                        <h3>Acompanhe as novidades</h3>
                        <li><a href="http://www.facebook.com/pages/origin-webmasters/166607096754707">Facebook</a></li>
                        <li><a href="https://twitter.com/originwebmaster">Twitter</a></li>
                        <li><a href="<?php echo $this->Html->getLink("contato/acompanhe"); ?>">Email</a></li>
                    </ul>
                </div>
                
            </div>

        </div>
    </div>

</body>
</html>
